﻿using MiniFox.Infrastructure;
using MiniFox.Infrastructure.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sys.Core.Models.Queries
{
    public class AuthQuery
    {

        [TargetProperty("LoginName, SecEmail, Cellphone", QueryOperation.Contain), JsonProperty("keyword")]
        public string? KeyWord { get; set; }

        [TargetProperty("ClientIP", QueryOperation.Equal), JsonProperty("clientIp")]
        public string? ClientIP { get; set; }

        [TargetProperty("AppID", QueryOperation.Equal), JsonProperty("appId")]
        public string? AppID { get; set; }
    }
}
